import { IMainMenu } from "../MenuData";
import { Module } from "../Module";
import { MenuLevel } from "../MenuLevel";
import { Guid } from "guid-typescript";

/**文档菜单 */
export const FileMenuData: IMainMenu = {
  module: Module.File,
  level: MenuLevel.portal,
  menu: {
    id: Guid.parse("353b1157-35ff-c171-2a96-f5ab940cf146"),
    name: `文档`,
    pageId: "File",
    leve: 1,
    children: [
      {
        id: Guid.parse("8957d7d1-f586-84d7-35d2-fe52167f508d"),
        name: `目录结构`,
        pageId: "directoryStructure",
        leve: 2,
      },
      {
        id: Guid.parse("5b04a342-1b4e-1bb0-509b-8328980b57f7"),
        name: `路由跳转`,
        pageId: "UrlRouter",
        leve: 2,
      },
      {
        id: Guid.parse("298b5a12-ddcf-dbe7-4b64-f713446dc358"),
        name: `宽高单位及匹配`,
        pageId: "widthAndHeight",
        leve: 2,
      },
      {
        id: Guid.parse("0c851814-9af2-d7c1-04e8-3788f54b01e5"),
        name: `图标扩展`,
        pageId: "Icon",
        leve: 2,
      },
      {
        id: Guid.parse("c9e86340-7575-4b20-8ecc-8fc9617139c9"),
        name: `mobx使用`,
        pageId: "mobx",
        leve: 2,
      },
      {
        id: Guid.parse("6f671b27-fac2-9072-9c38-1dac539691b2"),
        name: `筛选模块`,
        pageId: "screen",
        leve: 2,
      }, //ajaxOrFetch
      {
        id: Guid.parse("442d750f-41ea-49d2-9567-6e6dc3bb35ff"),
        name: `请求方式`,
        pageId: "ajaxOrFetch",
        leve: 2,
      },
    ],
  },
};
